import { request } from 'umi';

type ParamsType = {
  count?: number;
};

export async function getUserList(
  params: ParamsType,
): Promise<{ data: { list: [] } }> {
  return request('/api/get_list', {
    params,
  });
}